package com.easyedu.core.entity;

/**
 * @author lmr
 **/
public enum BaseError implements EasyEduError {
     ERR_PARA(2001, "不合法参数"),
     ILLEGAL_DATA(2002, "不合法数据");

     private int    code;
     private String msg;

     BaseError(int code, String msg) {
          this.code = code;
          this.msg = msg;
     }

     public int getCode() {
          return code;
     }

     public String getMsg() {
          return msg;
     }
}
